package com.qianli.user.ro.auth;

import com.qianli.user.ro.BaseComplete;

import java.io.Serializable;
import java.util.List;

/**
 * name:信用卡
 * auth:ting.li@qianli-inc.com
 * date:2018/1/8 17:36
 * version: v1.0.0
 **/
public class CreditCardRO extends UserAbastractBaseAuthRO implements BaseComplete, Serializable {

    private static final long serialVersionUID = -8386829250465620800L;
    /**
     * 银行名称
     */
    private String              bankName;
    /**
     * 银行码
     */
    private String              bankKey;
    /**
     * 卡号
     */
    private List<String>        numbers;
    /**
     * 查询账号
     */
    private CreditCardAccountRO account;
    /**
     * 任务id
     */
    private String              taskId;
    /**
     * 账单展示状态
     * @see com.qianli.user.enums.CreditCardBillShowStatusEnum
     */
    private Integer             showStatus;

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankKey() {
        return bankKey;
    }

    public void setBankKey(String bankKey) {
        this.bankKey = bankKey;
    }

    public CreditCardAccountRO getAccount() {
        return account;
    }

    public void setAccount(CreditCardAccountRO account) {
        this.account = account;
    }

    public List<String> getNumbers() {
        return numbers;
    }

    public void setNumbers(List<String> numbers) {
        this.numbers = numbers;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    @Override
    public Boolean isComplete() {
        return getAuthorized();
    }
}
